package dhm.com.dhmshop.entity;

public class MessageDetail {
    /**
     * code : 1
     * message : 获取成功
     * data : {"id":141,"msgType":1,"sendUserId":1,"receiveUserId":13,"msgContent":"订单【100000460】因长时间未支付，系统自动取消订单。","msgStatus":0,"msgJson":"{\"from\":1,\"dataId\":42}","dataFlag":1,"createTime":"2020-09-18 09:42:30"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 141
         * msgType : 1
         * sendUserId : 1
         * receiveUserId : 13
         * msgContent : 订单【100000460】因长时间未支付，系统自动取消订单。
         * msgStatus : 0
         * msgJson : {"from":1,"dataId":42}
         * dataFlag : 1
         * createTime : 2020-09-18 09:42:30
         */

        private int id;
        private int msgType;
        private int sendUserId;
        private int receiveUserId;
        private String msgContent;
        private int msgStatus;
        private String msgJson;
        private int dataFlag;
        private String createTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMsgType() {
            return msgType;
        }

        public void setMsgType(int msgType) {
            this.msgType = msgType;
        }

        public int getSendUserId() {
            return sendUserId;
        }

        public void setSendUserId(int sendUserId) {
            this.sendUserId = sendUserId;
        }

        public int getReceiveUserId() {
            return receiveUserId;
        }

        public void setReceiveUserId(int receiveUserId) {
            this.receiveUserId = receiveUserId;
        }

        public String getMsgContent() {
            return msgContent;
        }

        public void setMsgContent(String msgContent) {
            this.msgContent = msgContent;
        }

        public int getMsgStatus() {
            return msgStatus;
        }

        public void setMsgStatus(int msgStatus) {
            this.msgStatus = msgStatus;
        }

        public String getMsgJson() {
            return msgJson;
        }

        public void setMsgJson(String msgJson) {
            this.msgJson = msgJson;
        }

        public int getDataFlag() {
            return dataFlag;
        }

        public void setDataFlag(int dataFlag) {
            this.dataFlag = dataFlag;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
